package com.example.wm.Secondary.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("goods_orders")
public class GoodesOrders {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime date;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  created_at;
    private String name;
    private String product_name;
    private String tonnage;
    private String price;

}
